import random
print("""
*******************************
        欢迎来到剪刀石头five
        超绝双沉默，还不超标？
        开发时间：2025.3.19
*******************************
""")
count = 5
win = 0
lose = 0
scissorrockFive = ["剪刀", "石头", "布"]
while count != 0:
    robot = random.choice(scissorrockFive)
    superman = input("请出拳: ")

    if superman == robot:
        print("平局！哈哈哈")
    elif superman == "剪刀" and robot == "石头":
        print("你输了！哈哈哈")
        lose += 1
        count -= 1
    elif superman == "剪刀" and robot == "布":
        print("哈哈哈，你赢了！")
        win += 1
        count -= 1
    elif superman == "石头" and robot == "布":
        print("你输了！哈哈哈")
        lose += 1
        count -= 1
    elif superman == "石头" and robot == "剪刀":
        print("哈哈哈，你赢了！")
        win += 1
        count -= 1
    elif superman == "布" and robot == "剪刀":
        print("你输了！哈哈哈")
        lose += 1
        count -= 1
    elif superman == "布" and robot == "石头":
        print("哈哈哈，你赢了！")
        win += 1
        count -= 1
    elif superman == "圣剑裁决":
        print("哈哈哈，你触发了亚瑟王彩蛋@~@")
        win += 3

    if win == 3:
        print("恭喜你，你赢了！")
        break
    elif lose == 3:
        print("很遗憾，你输了！")
        break

print("你赢了", win, "局")
